package com.example.demo2.service.impl;

import com.example.demo2.entity.ComparisonName;
import com.example.demo2.mapper.ComparisonNameMapper;
import com.example.demo2.service.ComparisonNameService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author
 * @version 1.0
 * @description TODO
 * @date 2024/7/9 22:38
 */
@Service
public class ComparisonNameServiceImpl implements ComparisonNameService {

    @Autowired
    private ComparisonNameMapper comparisonNameMapper;

    @Override
    public List<ComparisonName> getAllComparisonNames() {
        return comparisonNameMapper.findAllComparisonNames();
    }
}